signal handler造句
例句與造句
- In the signal handler , as follows , can resolve the problem
的值,可以解決這一問題: - Suppose that the signal handler uses
假定信號處理器使用了不可重入的 - From the signal handler
,那會怎樣? - There can be only one signal handler per signal per process active at any instant
在任何瞬間,只能有一個信號處理程序處理一個活動進(jìn)程的一個信號。 - Meanwhile , once per second , the alarm signal handler prints the current contents . calling
同時, alarm信號處理器每一秒打印一次當(dāng)前內(nèi)容(在處理器中調(diào)用 - It's difficult to find signal handler in a sentence. 用signal handler造句挺難的
- The process then continues executing , but the instructions in the signal handler are now executed
然后進(jìn)程繼續(xù)執(zhí)行,但現(xiàn)在執(zhí)行的是信號處理器中的指令。 - In addition , we add some additional arguments to be passed to the select and deselect signal handlers
此外,我們還添加一些傳遞給選擇信號和取消選擇信號句柄的額外參數(shù)。 - This example shows what can happen if a signal handler runs in the middle of modifying a variable
這個例子展示了在修改某個變量的過程中運行信號處理器可能會發(fā)生什么事情: - Signal handlers in an approximate manner , while the diagnostics module expands the installed signal handler
的信號處理器設(shè)置成幾乎相同的形式,而診斷模塊則擴展已安裝的信號處理器。 - Now , in the signal handler you can t tell what the process was executing when the signal was caught
現(xiàn)在,在信號處理器中您并不知道信號被捕獲時進(jìn)程正在執(zhí)行什么內(nèi)容。如果當(dāng)進(jìn)程正在使用 - The only thing you should normally do inside a signal handler is set a global flag that will be processed later
在一個信號處理器內(nèi)部,您通常應(yīng)該做的一件事是,設(shè)置一個將在以后處理的全局標(biāo)記。 - The best way to avoid the need to allocate memory in a handler is to allocate , in advance , space for signal handlers to use
避免在處理器分配內(nèi)存的最好方法是,為信號處理器預(yù)先分配要使用的內(nèi)存。 - If the signal handler returns , the process continues executing the normal sequence of instructions it was executing when the signal was caught
如果信號處理器返回,則進(jìn)程繼續(xù)執(zhí)行信號被捕獲時正在執(zhí)行的正常的指令序列。 - Or , you call some function that was in the middle of the manipulation of the global data structure and you call the same function from the signal handler
或者,調(diào)用了正在處理全局?jǐn)?shù)據(jù)結(jié)構(gòu)的某個函數(shù),而在信號處理器中又調(diào)用了同一個函數(shù)。 - You can call library functions , but only a very few can be safely called . calling most functions inside a signal handler , such as
您可以調(diào)用庫函數(shù),但是只有極少數(shù)函數(shù)是被安全調(diào)用的;在一個信號處理器中調(diào)用大部分函數(shù)是出問題的主要原因,比如
更多例句: 下一頁